home *** CD-ROM | disk | FTP | other *** search
/ Inside Indy 1993 / Inside Indy 1993.iso / scripts / exitlive < prev    next >
Text File  |  1993-06-23  |  168b  |  11 lines

  1. #!/bin/sh
  2. PATH=/bin:/usr/bin
  3.  
  4. PPID1=`ps -ef | grep $$ | grep exitlive | cut -c15-20`
  5.  
  6. PPID2=`ps -ef | grep $PPID1 | grep sh | cut -c15-20`
  7.  
  8. kill $PPID2
  9.  
  10. rm -rf $TMPDIR
  11.